<?php if(isset($this->userid) && $this->userid > 0){ ?>
    <span class="fptid_icon">&nbsp;</span>
    <span><strong><?php echo Fpt_String::subString($this->user['displayname'],0,25) ?></strong>
    <a class="link_logout" href="<?php echo $this->config['fptid'] ?>/logout?referersp=<?php echo !empty($this->urlRedirect)?$this->urlRedirect:BASE_URL;?>">(Thoát)</a></span>
<?php }?>